package cn.dengta.webapp.trade.entity;

import javax.annotation.Nullable;

import cn.dengta.webapp.base.entity.TimeBasedEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 用户背包头像框基础数据
 */
@Setter
@Getter
@Accessors(chain = true)
@TableName("im_user_bag_avatar")
public class UserBagAvatar extends TimeBasedEntity {

	private String name;
	private String alias;
	private String icon;
	private Integer sort;
	/** 1=启用；0=初始化；-1=禁用 */
	private Integer status;

	@Getter
	public enum BagAvatarName {
		USER_LEVEL("用户等级", "userLv"),
		//
		;
		public final String label;
		public final String alias;

		BagAvatarName(String label, @Nullable String alias) {
			this.label = label;
			this.alias = alias;
		}

	}

}
